package com.bluse.exception;

/**
 * @Describe: TODO
 * @Author: bluse
 * @Date: 2018/12/25 18:15
 **/

public class MyErrorException extends RuntimeException {


    private String code;

    private String message;

    public MyErrorException(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    public void setCode(String code) {
        this.code = code;
    }

    @Override
    public String getMessage() {
        return message;
    }

    public void setMessage(String message) {
        this.message = message;
    }
}
